package test.server;

public class Result 
{
	private String url = "";
	
	private String title = "";
	
	private String content = "";

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	public String toHTML()
	{
		StringBuffer result = new StringBuffer();
		result.append("<h3>");
		result.append(title);
		result.append("<p></h3>");
		result.append("<h4><a href>");
		result.append(url);
		result.append("</a></p></h4>");
		result.append(content);
		result.append("<br>");
		return result.toString();
	}
}
